package pr.iceworld.fernando.springbatchquartzlearning;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan(basePackages = {"pr.iceworld.fernandospringbatchlearning.repository"})
@ServletComponentScan(value = "pr.iceworld.fernandospringbatchlearning.configuration.ext")
public class SpringBatchQuartzLearningApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBatchQuartzLearningApplication.class, args);
    }


//    public static ConfigurableApplicationContext ctx;
//    public static void main(String[] args) {
//        ctx= SpringApplication.run(new Object[] { QuartzResource.class}, args);
//    }


}
